package ch.pizzapp.kurier.data;

import android.os.Parcel;
import android.os.Parcelable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class SignUpResponceData implements Parcelable {

	@JsonProperty("response")
	SingUpData response;

	public SingUpData getResponse() {
		return response;
	}

	public void setResponse(SingUpData response) {
		this.response = response;
	}

	protected SignUpResponceData(Parcel in) {
		response = (SingUpData) in.readValue(SingUpData.class.getClassLoader());
	}

	public SignUpResponceData() {
	}

	public int describeContents() {
		return 0;
	}

	public void writeToParcel(Parcel dest, int flags) {
		dest.writeValue(response);
	}

	public static final Parcelable.Creator<SignUpResponceData> CREATOR = new Parcelable.Creator<SignUpResponceData>() {
		public SignUpResponceData createFromParcel(Parcel in) {
			return new SignUpResponceData(in);
		}

		public SignUpResponceData[] newArray(int size) {
			return new SignUpResponceData[size];
		}
	};
}